﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore.Car
{
    public interface IMerchandiseAppService :
        ICrudAppService<
            MerchandiseDto,
            int,
            PagedAndSortedResultRequestDto,
            CreateUpdateMerchandiseDto>
    {
        Task BatchCreateAsync(BatchMerchandiseDto input);
        Task BatchUpdateAsync(BatchMerchandiseDto input);
        /// <summary>
        /// 根据基础信息Id获取明细列表
        /// </summary>
        Task<List<MerchandiseDto>> GetListByInventoryTranIdAsync(int inventoryTranId);
    }
}
